Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pushing in export value for resolving cross stack refrencing #317

Merged
merged 224 commits into from
Sep 12, 2023
Merged
Changes from 1 commit
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
f37a426
chore(deps): update dependency eslint to v8.9.0 (#141)
renovate[bot] Feb 23, 2022
d77cb95
chore(deps): update amannn/action-semantic-pull-request action to v4.…
renovate[bot] Feb 23, 2022
566d7cd
chore(deps): update dependency constructs to v10.0.70 (#138)
renovate[bot] Feb 23, 2022
9dfd30d
chore(deps): update dependency constructs to v10.0.71 (#145)
renovate[bot] Feb 24, 2022
219de39
chore(deps): update pnpm/action-setup action to v2.2.0 (#142)
renovate[bot] Feb 24, 2022
e4d6430
feat: lambda for put-timetable (#144)
JasonNotJson Feb 25, 2022
ce8b00e
chore(deps): update actions/setup-node action to v3 (#148)
renovate[bot] Feb 25, 2022
fa36a02
chore(deps): update pnpm/action-setup action to v2.2.1 (#147)
renovate[bot] Feb 25, 2022
7c8d06a
chore(deps): update dependency constructs to v10.0.72 (#146)
renovate[bot] Feb 25, 2022
f858a4a
chore(deps): update typescript-eslint monorepo to v5.12.1 (#143)
renovate[bot] Feb 25, 2022
0b2200f
chore(deps): update aws-cdk monorepo to v2.14.0 (#133)
renovate[bot] Feb 25, 2022
2c3d9ad
chore(deps): update dependency constructs to v10.0.74 (#150)
renovate[bot] Feb 27, 2022
d2276f1
chore(deps): update dependency eslint to v8.10.0 (#149)
renovate[bot] Feb 27, 2022
064821a
chore(deps): update dependency typescript to v4.6.2 (#153)
renovate[bot] Mar 1, 2022
5fda850
chore(deps): update aws-cdk monorepo to v2.15.0 (#154)
renovate[bot] Mar 1, 2022
bb6ae80
chore(deps): update dependency constructs to v10.0.75 (#152)
renovate[bot] Mar 1, 2022
6cb318a
chore(deps): update dependency ts-node to v10.6.0 (#155)
renovate[bot] Mar 2, 2022
9bf92ac
chore(deps): update actions/checkout action to v3 (#156)
renovate[bot] Mar 2, 2022
8a1f057
chore(deps): update typescript-eslint monorepo to v5.13.0 (#151)
renovate[bot] Mar 2, 2022
46b062b
chore(deps): update dependency constructs to v10.0.76 (#157)
renovate[bot] Mar 2, 2022
303b891
chore(deps): update dependency constructs to v10.0.77 (#158)
renovate[bot] Mar 3, 2022
3164d59
chore(deps): update dependency constructs to v10.0.79 (#159)
renovate[bot] Mar 5, 2022
d5b8220
chore(deps): update typescript-eslint monorepo to v5.14.0 (#162)
renovate[bot] Mar 7, 2022
0c314e1
chore(deps): update dependency ts-node to v10.7.0 (#161)
renovate[bot] Mar 7, 2022
13d28e2
chore(deps): update dependency constructs to v10.0.81 (#160)
renovate[bot] Mar 7, 2022
ab7ed5a
chore(deps): update dependency constructs to v10.0.82 (#163)
renovate[bot] Mar 9, 2022
b18bb2d
chore(deps): update dependency constructs to v10.0.83 (#164)
renovate[bot] Mar 10, 2022
477a5db
chore(deps): update aws-cdk monorepo to v2.16.0 (#168)
renovate[bot] Mar 12, 2022
fc68529
chore(deps): update endbug/add-and-commit action to v9 (#167)
renovate[bot] Mar 12, 2022
b05ca2f
chore(deps): update dependency @commitlint/cli to v16.2.3 (#170)
renovate[bot] Mar 17, 2022
5ebd9a5
chore(deps): update typescript-eslint monorepo to v5.15.0 (#169)
renovate[bot] Mar 17, 2022
a10558e
chore(deps): update dependency constructs to v10.0.90 (#165)
renovate[bot] Mar 17, 2022
50448e9
chore(deps): update peter-evans/find-comment action to v2 (#175)
renovate[bot] Mar 22, 2022
4298aae
chore(deps): update peter-evans/create-or-update-comment action to v2…
renovate[bot] Mar 22, 2022
f6f4f5a
chore(deps): update aws-cdk monorepo to v2.17.0 (#171)
renovate[bot] Mar 22, 2022
d23acff
chore(deps): update dependency constructs to v10.0.92 (#172)
renovate[bot] Mar 23, 2022
26c1df8
chore(deps): update typescript-eslint monorepo to v5.16.0 (#173)
renovate[bot] Mar 23, 2022
966d40c
chore(deps): update dependency eslint-import-resolver-typescript to v…
renovate[bot] Mar 25, 2022
5ff8ca8
chore(deps): update aws-cdk monorepo to v2.19.0 (#183)
renovate[bot] Apr 1, 2022
2b463ee
chore(deps): update typescript-eslint monorepo to v5.17.0 (#182)
renovate[bot] Apr 2, 2022
bb3e6d6
feat: api for put-timetable lambda. (#179)
JasonNotJson Apr 8, 2022
50209ea
chore(deps): update dependencies
AustinZhu Apr 18, 2022
1337679
chore: add lint-staged
AustinZhu Apr 18, 2022
7d42059
chore(deps): update codecov/codecov-action action to v3 (#186)
renovate[bot] Apr 18, 2022
3fb4631
chore(deps): update amannn/action-semantic-pull-request action to v4.…
renovate[bot] Apr 18, 2022
88dac93
chore(deps): update aws-cdk monorepo to v2.22.0
renovate-bot Apr 28, 2022
65896f5
chore(deps): update github/codeql-action action to v2 (#192)
renovate[bot] Apr 29, 2022
80c4c6a
chore(deps): update amannn/action-semantic-pull-request action to v4.…
renovate[bot] Apr 29, 2022
2d7b18d
Merge remote-tracking branch 'origin/renovate/aws-cdk-monorepo' into …
AustinZhu Apr 29, 2022
bf82cba
chore(deps): update dependencies
AustinZhu Apr 29, 2022
9268119
chore(deps): update amannn/action-semantic-pull-request action to v4.5.0
renovate-bot May 4, 2022
2e31b9b
chore(deps): update dependency husky to v8
renovate-bot May 9, 2022
9e39ed4
chore(deps): update dependency @commitlint/cli to v16.3.0
renovate-bot May 14, 2022
a43faa2
chore(deps): update dependency standard-version to v9.5.0
renovate-bot May 15, 2022
84cb7da
chore(deps): update aws-cdk monorepo to v2.27.0
renovate-bot Jun 3, 2022
7965950
chore(deps): update dependency ts-jest to v28.0.4
renovate-bot Jun 3, 2022
0bc1c1a
chore(deps): update dependency eslint to v8.17.0
renovate-bot Jun 3, 2022
dafc809
chore(deps): update dependency ts-node to v10.8.1
renovate-bot Jun 4, 2022
f1ddd07
chore(deps): update typescript-eslint monorepo to v5.27.1
renovate-bot Jun 6, 2022
2cd784e
chore(deps): update jest monorepo
renovate-bot Jun 7, 2022
e2f59a1
chore(deps): update dependency constructs to v10.1.32
renovate-bot Jun 8, 2022
6815896
Merge remote-tracking branch 'origin/renovate/aws-cdk-monorepo' into …
AustinZhu Jun 8, 2022
2dcf357
Merge remote-tracking branch 'origin/renovate/commitlint-monorepo' in…
AustinZhu Jun 8, 2022
26e8c35
Merge remote-tracking branch 'origin/renovate/constructs-10.x' into d…
AustinZhu Jun 8, 2022
99a83c1
Merge remote-tracking branch 'origin/renovate/eslint-8.x' into develop
AustinZhu Jun 8, 2022
d6ca17a
Merge remote-tracking branch 'origin/renovate/husky-8.x' into develop
AustinZhu Jun 8, 2022
9b170ed
Merge remote-tracking branch 'origin/renovate/jest-monorepo' into dev…
AustinZhu Jun 8, 2022
9c3d691
Merge remote-tracking branch 'origin/renovate/standard-version-9.x' i…
AustinZhu Jun 8, 2022
9e57633
Merge remote-tracking branch 'origin/renovate/ts-jest-28.x' into develop
AustinZhu Jun 8, 2022
06c7ebe
Merge remote-tracking branch 'origin/renovate/ts-node-10.x' into develop
AustinZhu Jun 8, 2022
804f259
Merge remote-tracking branch 'origin/renovate/typescript-eslint-monor…
AustinZhu Jun 8, 2022
b7638f9
chore(deps): update dependencies
AustinZhu Jun 8, 2022
a791264
chore(deps): update pnpm/action-setup action to v2.2.2
renovate-bot Jun 8, 2022
6d90f99
chore(deps): update dependency typescript to v4.7.3
renovate-bot Jun 8, 2022
cccbc2e
chore(deps): update dependencies
AustinZhu Jun 8, 2022
8468ea0
f:added Put method into default Headers for new api function put-time…
JasonNotJson Nov 1, 2022
424f71f
feat: updated pnpm-lock file to latest
JasonNotJson Nov 5, 2022
36d17fb
feat: uploading updated package file
JasonNotJson Nov 5, 2022
6984ba5
feat: updating package-lock file
JasonNotJson Nov 5, 2022
519ae39
fix: modified jest config file
JasonNotJson Nov 5, 2022
5bdd0e7
fix: update jest config
JasonNotJson Nov 10, 2022
fb24be9
fix: configured rest api settings (#221)
JasonNotJson Nov 11, 2022
e0b6119
feat: creating only database and not API (#225)
JasonNotJson Dec 29, 2022
3b80a83
fix: fix git branch merging error (#226)
JasonNotJson Dec 29, 2022
4ea28bc
fix: hotfix
JasonNotJson Dec 29, 2022
d7dde4e
fix: fixing db
JasonNotJson Dec 30, 2022
ea906af
fix(deps): update dependency flatted to v3.2.7 (#215)
renovate[bot] Dec 30, 2022
ce141df
chore(deps): update jest monorepo (#210)
renovate[bot] Dec 30, 2022
d7e82e0
chore(deps): update dependency husky to v8.0.2 (#227)
renovate[bot] Dec 30, 2022
6620d99
feat: renamed forum database and fixed multiple api (#230)
JasonNotJson Dec 30, 2022
293cc06
fix: changed already existing db role name (#231)
JasonNotJson Dec 30, 2022
7ba8d25
feat: editing forum restapi resources and added multiple CRUD lambda …
JasonNotJson Dec 31, 2022
e54214d
chore(deps): update dependency constructs to v10.1.205 (#206)
renovate[bot] Dec 31, 2022
3352a2c
chore(deps): update dependency ts-jest to v28.0.8 (#208)
renovate[bot] Dec 31, 2022
e64d51d
chore(deps): update dependency ts-node to v10.9.1 (#234)
renovate[bot] Jan 1, 2023
8374467
chore(deps): update dependency constructs to v10.1.206 (#235)
renovate[bot] Jan 1, 2023
3ca8369
chore(deps): update dependency esbuild to ^0.16.0 (#233)
renovate[bot] Jan 1, 2023
aa9e01e
chore(deps): update dependency eslint-import-resolver-typescript to v…
renovate[bot] Jan 1, 2023
0f08fae
chore(deps): update commitlint monorepo to v17.3.0 (#213)
renovate[bot] Jan 1, 2023
f6986dd
chore(deps): update jest monorepo to v29 (#239)
renovate[bot] Jan 2, 2023
e7c0e71
feat: adding forum comment features (#240)
JasonNotJson Jan 2, 2023
df66aa8
fix: issue with post forum thread fixing issue (#242)
JasonNotJson Jan 2, 2023
299388a
fix: mistaken sortkey type
JasonNotJson Jan 2, 2023
ecc3ecc
Merge branch 'develop' of https://github.com/wasedatime/wasedatime-ba…
JasonNotJson Jan 2, 2023
288f111
fix: trying to solve a problem
JasonNotJson Jan 2, 2023
c276fa1
fix: changing db (#243)
JasonNotJson Jan 2, 2023
613d09b
fix: solving database issue
JasonNotJson Jan 2, 2023
e387941
fix: still fixing issues
JasonNotJson Jan 2, 2023
43f557d
fix: reverting error (#244)
JasonNotJson Jan 2, 2023
7b476fe
fix: deleting lambda (#245)
JasonNotJson Jan 2, 2023
e5ff0dd
feat: reverting
JasonNotJson Jan 2, 2023
56c9839
feat: idontknowwhatshappeningnow
JasonNotJson Jan 2, 2023
c9b3a53
feat: bringing back lambdas
JasonNotJson Jan 2, 2023
18e89f0
feat: fixing mistakes
JasonNotJson Jan 2, 2023
1e0b50b
feat: retrieving db and api
JasonNotJson Jan 2, 2023
e1e95da
chore(deps): update dependency constructs to v10.1.210 (#241)
renovate[bot] Jan 5, 2023
3b537af
fix: fixing cross stack referencing (#247)
JasonNotJson Mar 12, 2023
b4fb97f
chore(deps): update dependency husky to v8.0.3 (#246)
renovate[bot] Mar 16, 2023
c85d8e1
fix: updating dependencies and syllabus structure (#249)
JasonNotJson Mar 16, 2023
6432dec
chore(deps): update dependency constructs to v10.1.279 (#250)
renovate[bot] Mar 16, 2023
05740ac
fix: establishing table (#252)
JasonNotJson Mar 16, 2023
89d85c3
fix: minor changes (#253)
JasonNotJson Mar 16, 2023
0abcc54
fix: renaming table (#254)
JasonNotJson Mar 16, 2023
86c7867
fix: exporting table arn (#255)
JasonNotJson Mar 17, 2023
cb03e80
fix: resolving already existing identifier (#256)
JasonNotJson Mar 17, 2023
537bb5a
fix: rereferencing export (#258)
JasonNotJson Mar 17, 2023
7f35f8e
fix: adding lsi to table exporting arn with tablename (#259)
JasonNotJson Mar 17, 2023
9179913
fix: deleting thread table (#260)
JasonNotJson Mar 17, 2023
a79f43b
fix: recreating thread table with proper lsi (#261)
JasonNotJson Mar 17, 2023
d313c39
fix: recreating lambdas for forum threads (#262)
JasonNotJson Mar 17, 2023
377606a
chore(deps): update typescript-eslint monorepo to v5.55.0 (#207)
renovate[bot] Mar 17, 2023
78ea784
chore(deps): update dependency @types/node to v18 (#237)
renovate[bot] Mar 17, 2023
e5c784e
chore(deps): update aws-cdk monorepo (#209)
renovate[bot] Mar 17, 2023
440eee9
fix: api service added (#266)
JasonNotJson Mar 17, 2023
52b9009
chore(deps): update dependency typescript to v4.9.5 (#211)
renovate[bot] Mar 17, 2023
e48634a
chore(deps): update dependency eslint to v8.36.0 (#212)
renovate[bot] Mar 18, 2023
26a5d6c
chore(deps): update commitlint monorepo to v17.4.4 (#267)
renovate[bot] Mar 18, 2023
54eb49b
Merge branch 'main' of https://github.com/wasedatime/wasedatime-backe…
JasonNotJson Mar 18, 2023
b0abdf9
fix: fixing error for get thread (#271)
JasonNotJson Mar 18, 2023
aea1ccd
feat: adding amplify micro app forum (#272)
JasonNotJson Mar 28, 2023
322fe55
chore(deps): update dependency esbuild to ^0.17.0 (#269)
renovate[bot] Apr 8, 2023
2f8de49
fix: updating outdated pnpm lock file (#274)
JasonNotJson Apr 8, 2023
27e7a4e
chore(deps): update dependency constructs to v10.1.305 (#263)
renovate[bot] Apr 8, 2023
43587bb
chore(deps): update dependency @commitlint/cli to v17.5.1 (#275)
renovate[bot] Apr 13, 2023
88d7749
chore(deps): update dependency constructs to v10.1.309 (#276)
renovate[bot] Apr 13, 2023
7f4b1d8
chore(deps): update dependency aws-cdk-lib to v2.74.0 (#277)
renovate[bot] Apr 15, 2023
bd879f4
chore(deps): update dependency constructs to v10.1.311 (#278)
renovate[bot] Apr 15, 2023
e33c01c
chore(deps): update commitlint monorepo to v17.6.1 (#279)
renovate[bot] Apr 15, 2023
52e26b7
chore(deps): update dependency eslint to v8.38.0 (#280)
renovate[bot] Apr 15, 2023
d65d4f2
chore(deps): update jest monorepo to v29.5.0 (#281)
renovate[bot] Apr 16, 2023
00706b5
chore(deps): update dependency constructs to v10.1.312 (#282)
renovate[bot] Apr 16, 2023
2c6379f
chore(deps): update dependency @types/node to v18.15.12 (#273)
renovate[bot] Apr 20, 2023
bd3eb70
fix: adding response handler (#285)
JasonNotJson Apr 26, 2023
a91ffeb
fix: fixing multiple lambda functions (#286)
JasonNotJson Apr 27, 2023
1fc26e5
fix: fixing redundant data requirements described in the schema (#287)
JasonNotJson May 3, 2023
31ca68e
fix: fixed schema and some lambdas (#288)
JasonNotJson May 4, 2023
ddc81ea
fix: scraper and period location (#289)
JasonNotJson May 17, 2023
4582b13
feat: updated get single thread lambda role to all access to db (#290)
JasonNotJson May 17, 2023
69a68b1
feat: enabling multi-line evaluation criteria scraping (#291)
JasonNotJson May 17, 2023
17d2006
chore(deps): update dependency @types/jest to v29.5.1 (#284)
renovate[bot] May 17, 2023
571b629
chore(deps): update typescript-eslint monorepo to v5.59.6 (#283)
renovate[bot] May 17, 2023
b402ac0
fix: applying hotfix changes to branch develop
JasonNotJson Jun 2, 2023
c1bf347
feat: adding case 3 for merging period and location for exceptions (#…
JasonNotJson Jun 12, 2023
3a6e6d7
chore(deps): update pnpm/action-setup action to v2.2.4 (#228)
renovate[bot] Jun 14, 2023
d978880
chores: simple update
JasonNotJson Jun 23, 2023
e532167
feat: updating source for new computer
JasonNotJson Jun 26, 2023
85c37e2
fix: refactoring forum table keys (#298)
JasonNotJson Jul 9, 2023
265393d
feat: destroying table forum (#299)
JasonNotJson Jul 9, 2023
802fc72
feat: continue destorying the forum table (#300)
JasonNotJson Jul 9, 2023
c5bdd56
feat: finishing refactoring forum functionaility (#301)
JasonNotJson Jul 9, 2023
2176b95
feat: changing parameters for uid (#302)
JasonNotJson Jul 9, 2023
0e97cc6
fix: fix get-course (#303)
LIEN-YUHSIANG Jul 10, 2023
66f6274
feat: fixing cron
JasonNotJson Jul 14, 2023
5c02b69
Merge branch 'develop' of https://github.com/wasedatime/wasedatime-ba…
JasonNotJson Jul 14, 2023
98bfe6e
fix: fix get eval criteria (#306)
LIEN-YUHSIANG Jul 22, 2023
ee062c4
fix: fixing pnpm version to 6 (#309)
JasonNotJson Aug 3, 2023
fe0a84d
feat: adding oauth for flutter app (#310)
JasonNotJson Aug 6, 2023
d928b55
fix: hotfix for conditional (#311)
JasonNotJson Aug 31, 2023
7ceea10
fix: fixing the fucking delete and patch
JasonNotJson Sep 6, 2023
6151076
Merge branch 'develop' of https://github.com/wasedatime/wasedatime-ba…
JasonNotJson Sep 6, 2023
e5a41f1
feat: i might have solved the fucking issue
JasonNotJson Sep 6, 2023
6506067
feat: add mod flag (#312)
JasonNotJson Sep 6, 2023
d7d1565
fix: multiple lambdas related forums (#313)
JasonNotJson Sep 9, 2023
67a59a1
fix: update node version
JasonNotJson Sep 9, 2023
a3f8b51
Merge branch 'develop' of https://github.com/wasedatime/wasedatime-ba…
JasonNotJson Sep 9, 2023
09fa969
feat: fixing get functionality
JasonNotJson Sep 9, 2023
af74792
fix: getting rid of default values
JasonNotJson Sep 9, 2023
5178adc
fix: final fix please
JasonNotJson Sep 9, 2023
af40934
fix: taking out int
JasonNotJson Sep 9, 2023
b0fb1f0
fix: lets make it work
JasonNotJson Sep 9, 2023
dd50a32
feat: adding school filtering
JasonNotJson Sep 9, 2023
4839dd2
fix: adding contigency
JasonNotJson Sep 9, 2023
66e8cf5
fix: fixing bool
JasonNotJson Sep 9, 2023
ba5ce3d
fix: fixing bull for starting index
JasonNotJson Sep 9, 2023
8cf0974
feat: adding some loggings
JasonNotJson Sep 9, 2023
81c6160
fix: fixing indexing
JasonNotJson Sep 9, 2023
b4a953b
chore: adding logging for debug
JasonNotJson Sep 9, 2023
30412bf
feat: adding end index to message response
JasonNotJson Sep 9, 2023
ea549a5
fix: fixing schema to array
JasonNotJson Sep 10, 2023
f840b17
feat: adding tags filtering to lambda
JasonNotJson Sep 10, 2023
a3df508
feat: adding filitering and pagination functionality to board thread api
JasonNotJson Sep 10, 2023
61bc553
fix: fixing small typos
JasonNotJson Sep 10, 2023
4e73f0e
feat: contacting two lambdas to one
JasonNotJson Sep 10, 2023
0d00f73
feat: fixing
JasonNotJson Sep 10, 2023
819484e
fix: adding default
JasonNotJson Sep 10, 2023
4987aa7
feat: adding loggings for debugging
JasonNotJson Sep 10, 2023
71d1904
feat: fixing sorting logic
JasonNotJson Sep 10, 2023
e457c32
feat: refactoring sorting method
JasonNotJson Sep 10, 2023
ad524e5
feat: adding builtin dynamo pagination
JasonNotJson Sep 11, 2023
d682ed7
feat: reverting changes back to original built in pagination requires…
JasonNotJson Sep 11, 2023
6a95577
feat: returning the created thread item for smooth UX
JasonNotJson Sep 11, 2023
6b0e0e3
feat: popping uid for secruity measures
JasonNotJson Sep 11, 2023
177c7c1
feat: adding thread comment to retunred data without uid exposure
JasonNotJson Sep 11, 2023
c96f2a8
feat: adding mod flag
JasonNotJson Sep 11, 2023
d91c83f
feat: adding backend functionality for like
JasonNotJson Sep 11, 2023
9700d8d
feat: passing thread id back to client
JasonNotJson Sep 11, 2023
2502e63
fix: fixing like logic
JasonNotJson Sep 11, 2023
fb4af29
fix: fixing logic for likes
JasonNotJson Sep 11, 2023
ccdd56b
fix: refixing the fucking likes feature
JasonNotJson Sep 11, 2023
ecd5681
feat: resolving git merge issues
JasonNotJson Sep 11, 2023
56ab664
feat: major update into main from develop
JasonNotJson Sep 11, 2023
45bbb00
feat: renaming actions names
JasonNotJson Sep 11, 2023
c2ba975
feat: adding magic command to get rid of the table
JasonNotJson Sep 12, 2023
fae06b2
fix: adding comment
JasonNotJson Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: hotfix for conditional (#311)
  • Loading branch information
JasonNotJson authored Aug 31, 2023
commit d928b551ce4b1cf457f95c799583a970507e894b
2 changes: 1 addition & 1 deletion src/lambda/delete-thread/index.py
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ def delete_thread(board_id, thread_id, uid):
"thread_id": thread_id,
},
ConditionExpression=Attr('uid').eq(
uid) & Attr('thread_id').eq(thread_id)
uid)
)

resp_body = JsonPayloadBuilder().add_status(
3 changes: 1 addition & 2 deletions src/lambda/patch-thread/index.py
Original file line number Diff line number Diff line change
@@ -15,8 +15,7 @@ def patch_thread(board_id, uid, thread_id, thread):
"board_id": board_id,
"thread_id": thread_id,
},
ConditionExpression=Attr('thread_id').eq(
thread_id) & Attr('uid').eq(uid),
ConditionExpression=Attr('uid').eq(uid),
UpdateExpression='SET body = :tbody, title = :ttitle, update_at = :ts',
ExpressionAttributeValues={
":tbody": thread['body'],