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

removed description restrictions from org #1496

Merged
merged 2 commits into from
Feb 7, 2024
Merged

removed description restrictions from org #1496

merged 2 commits into from
Feb 7, 2024

Conversation

Vayras
Copy link
Contributor

@Vayras Vayras commented Feb 7, 2024

Issue:#1490
I have edited the code block responsible for the restriction, this now only checks if the description is within 120 characters

if len(org.Description) > 120 {
		fmt.Printf("invalid organization name %s\n", org.Description)
		w.WriteHeader(http.StatusBadRequest)
		json.NewEncoder(w).Encode("Error: organization description should not exceed 120 character")
		return
	}

This will enable edit/create org with blank description

@elraphty elraphty merged commit 4640360 into stakwork:master Feb 7, 2024
1 check passed
@ecurrencyhodler
Copy link
Contributor

No way for me to test this right now but will pay you out.

@Vayras
Copy link
Contributor Author

Vayras commented Feb 7, 2024

No problem, will wait for you to test this, I have tested this on frontend with @VividhPandey003
here's the loom video that shows creation of org without description:
https://www.loom.com/share/a0c51a49d6fd481bbaa795df2ca04979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants