Commit Graph

17 Commits (dc0a6eaa32374213cc352216fc87a95642238397)

Author SHA1 Message Date
zomars 055699f612 Various import and type fixes 2022-11-25 06:58:21 -07:00
zomars d93fd26a1e Removed unused methods middleware 2022-10-21 13:30:09 -06:00
zomars 00bd908916 Fixes permission errors 2022-10-14 17:41:28 -06:00
Agusti Fernandez Pardo f87eb7d18e fix: lint add spaces 2022-07-12 20:01:51 +02:00
Agusti Fernandez Pardo 80e414d4f5
Update pages/api/availability/_get.ts
no if just return

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:50 +02:00
Agusti Fernandez Pardo a72fbfa093
Update pages/api/availability/_get.ts
improve error message team no members

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:37 +02:00
Agusti Fernandez Pardo a6e199be67 fix: make availability for teamId work 2022-07-05 23:05:29 +02:00
Agusti Fernandez Pardo f1ee03f297 fix: add teams memberships users 2022-07-05 20:58:26 +02:00
Agusti Fernandez Pardo 2263e04217
Update pages/api/availability/_get.ts
add select: availabilitUserSelect

Co-authored-by: Omar López <zomars@me.com>
2022-07-05 20:35:30 +02:00
Agusti Fernandez Pardo 5dbb2066e0
Update pages/api/availability/_get.ts
add initialData: {user}

Co-authored-by: Omar López <zomars@me.com>
2022-07-05 20:34:53 +02:00
Agusti Fernandez Pardo a63b623a7d feat: teamId availability in API 2022-07-05 20:12:14 +02:00
Agusti Fernandez Pardo 29be8f5266 fix: makes id optional in availability 2022-06-16 21:50:41 +02:00
Agusti Fernandez Pardo 11f3d411b3 fix: rename users id to users userId to easier availability sharing _get endpoint 2022-06-16 00:18:40 +02:00
Agusti Fernandez Pardo 1bde5d88c1 fix: add back optional 2022-06-14 23:43:53 +02:00
Agusti Fernandez Pardo 372b20a4c9 fix: no post for now 2022-06-14 23:42:51 +02:00
Agusti Fernandez Pardo ba37ae78d9 fix: adds middleware, makes userId not optional 2022-06-14 23:41:33 +02:00
zomars e1bcd38e61 Adds basic availability endpoint 2022-06-14 15:17:09 -06:00