Skip to content

Commit

Permalink
Lectures: Add JavaScript programming language (#60)
Browse files Browse the repository at this point in the history
* Add JavaScript

18:46:23.356 ❤️ ERROR APIClient.sendRequest():151 - dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "courses", intValue: nil), _JSONKey(stringValue: "Index 33", intValue: 33), CodingKeys(stringValue: "course", intValue: nil), CodingKeys(stringValue: "exercises", intValue: nil), _JSONKey(stringValue: "Index 1", intValue: 1), CodingKeys(stringValue: "programmingLanguage", intValue: nil)], debugDescription: "Cannot initialize ProgrammingLanguage from invalid String value JAVASCRIPT", underlyingError: nil))

* Update version
  • Loading branch information
nityanandaz authored Jun 26, 2024
1 parent 28a9c7a commit efb1689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In Project Settings, on the tab "Package Dependencies", click "+" and add <https
1. Add a dependency in Package.swift:
```swift
dependencies: [
.package(url: "https://github.com/ls1intum/artemis-ios-core-modules", .upToNextMajor(from: "10.0.0")),
.package(url: "https://github.com/ls1intum/artemis-ios-core-modules", .upToNextMajor(from: "13.0.0")),
]
```

Expand Down
1 change: 1 addition & 0 deletions Sources/SharedModels/Exercise/ProgrammingExercise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public extension ProgrammingExercise {

public enum ProgrammingLanguage: String, RawRepresentable, Codable {
case java = "JAVA"
case javascript = "JAVASCRIPT"
case python = "PYTHON"
case c = "C"
case haskell = "HASKELL"
Expand Down

0 comments on commit efb1689

Please sign in to comment.