diff options
| author | rr- <rr-@sakuya.pl> | 2017-10-01 21:46:53 +0200 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2017-10-01 21:48:00 +0200 |
| commit | 1c4c5c5f91dbce7234796daddbb74923638659e7 (patch) | |
| tree | 1e621ec97c8455613303df066e4d74612f6f1dd0 /server/szurubooru/api/post_api.py | |
| parent | 253e28c1b5e6757057c0dd36a11fd5063e07ff79 (diff) | |
remove tags.json
Diffstat (limited to 'server/szurubooru/api/post_api.py')
| -rw-r--r-- | server/szurubooru/api/post_api.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/szurubooru/api/post_api.py b/server/szurubooru/api/post_api.py index 51deed2..27f10c1 100644 --- a/server/szurubooru/api/post_api.py +++ b/server/szurubooru/api/post_api.py @@ -73,7 +73,6 @@ def create_post( for tag in new_tags: snapshots.create(tag, None if anonymous else ctx.user) ctx.session.commit() - tags.export_to_json() return _serialize_post(ctx, post) @@ -126,7 +125,6 @@ def update_post(ctx: rest.Context, params: Dict[str, str]) -> rest.Response: ctx.session.flush() snapshots.modify(post, ctx.user) ctx.session.commit() - tags.export_to_json() return _serialize_post(ctx, post) @@ -138,7 +136,6 @@ def delete_post(ctx: rest.Context, params: Dict[str, str]) -> rest.Response: snapshots.delete(post, ctx.user) posts.delete(post) ctx.session.commit() - tags.export_to_json() return {} |