mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-03 03:01:52 +02:00
Improvements to mobile UI (#119)
This commit is contained in:
parent
f206d31083
commit
dde0fe8ea1
26 changed files with 971 additions and 317 deletions
|
@ -27,6 +27,9 @@ export default withLink(
|
|||
include: {
|
||||
votes: true,
|
||||
},
|
||||
orderBy: {
|
||||
value: "asc",
|
||||
},
|
||||
},
|
||||
participants: {
|
||||
include: {
|
||||
|
@ -119,6 +122,9 @@ export default withLink(
|
|||
include: {
|
||||
votes: true,
|
||||
},
|
||||
orderBy: {
|
||||
value: "asc",
|
||||
},
|
||||
},
|
||||
participants: {
|
||||
include: {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { prisma } from "../../../../../db";
|
||||
import { getQueryParam,withLink } from "../../../../../utils/api-utils";
|
||||
import { getQueryParam, withLink } from "../../../../../utils/api-utils";
|
||||
|
||||
export default withLink(async (req, res, link) => {
|
||||
const participantId = getQueryParam(req, "participantId");
|
||||
|
@ -44,5 +44,6 @@ export default withLink(async (req, res, link) => {
|
|||
|
||||
return res.end();
|
||||
default:
|
||||
return res.status(405);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue