Skip to content

Commit

Permalink
applied suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Feb 18, 2025
1 parent 4135f95 commit 72a960e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/workspace-role/service/workspace-role.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ export class WorkspaceRoleService {
if (pe.environmentSlugs && pe.environmentSlugs.length === 0)
throw new BadRequestException(
constructErrorBody(
`EnvironmentSlugs in the project ${pe.projectSlug} are required`,
`EnvironmentSlugs in the project ${pe.projectSlug} are required`
'Missing environment slugs',
`Environment slugs must be specified for project ${pe.projectSlug}`
)
)
if (pe.environmentSlugs) {
Expand Down
2 changes: 0 additions & 2 deletions apps/platform/src/app/auth/otp/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ export default function AuthOTPPage(): React.JSX.Element {
setIsLoadingRefresh(false)
toast.dismiss()
}

setIsLoading(false)
}

const handleResendOtp = async (): Promise<void> => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function EditVariablSheet() {
<Input
className="col-span-3 h-[2.75rem]"
id="name"
onChange={(e) => updateRequestData(e.target.name, e.target.value)}
onChange={(e) => updateRequestData(e.target.id, e.target.value)}
placeholder="Enter the name of the variable"
value={requestData.name}
/>
Expand All @@ -150,7 +150,7 @@ export default function EditVariablSheet() {
<Textarea
className="col-span-3 h-[2.75rem]"
id="name"
onChange={(e) => updateRequestData(e.target.name, e.target.value)}
onChange={(e) => updateRequestData(e.target.id, e.target.value)}
placeholder="Enter the note of the variable"
value={requestData.note}
/>
Expand Down

0 comments on commit 72a960e

Please sign in to comment.