Show More
@@ -151,20 +151,22 b' def _store_log(action_name, action_data,' | |||
|
151 | 151 | |
|
152 | 152 | |
|
153 | 153 | def store_web(*args, **kwargs): |
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
|
158 | }) | |
|
154 | action_data = {} | |
|
155 | org_action_data = kwargs.pop('action_data', {}) | |
|
156 | action_data.update(org_action_data) | |
|
157 | action_data['source'] = SOURCE_WEB | |
|
158 | kwargs['action_data'] = action_data | |
|
159 | ||
|
159 | 160 | return store(*args, **kwargs) |
|
160 | 161 | |
|
161 | 162 | |
|
162 | 163 | def store_api(*args, **kwargs): |
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 | }) | |
|
164 | action_data = {} | |
|
165 | org_action_data = kwargs.pop('action_data', {}) | |
|
166 | action_data.update(org_action_data) | |
|
167 | action_data['source'] = SOURCE_API | |
|
168 | kwargs['action_data'] = action_data | |
|
169 | ||
|
168 | 170 | return store(*args, **kwargs) |
|
169 | 171 | |
|
170 | 172 |
General Comments 0
You need to be logged in to leave comments.
Login now